package com.tempjob.app.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel
public class WechatUnionIdDTO {

    private static final long serialVersionUID = 2023675294590573352L;

    @ApiModelProperty(value = "code", required = true)
    @NotNull(message = "code不能为空")
    private String code;

    @ApiModelProperty(value = "昵称", required = true)
    private String nickName;

    @ApiModelProperty(value = "性别", required = true)
    private String sex;

    @ApiModelProperty(value = "省份", required = true)
    private String province;

    @ApiModelProperty(value = "城市", required = true)
    private String city;

    @ApiModelProperty(value = "国家", required = true)
    private String country;

    @ApiModelProperty(value = "头像", required = true)
    private String avatarUrl;

    @ApiModelProperty(value = "signature", required = true)
    @NotNull(message = "signature不能为空")
    private String signature;

    @ApiModelProperty(value = "encryptedData", required = true)
    @NotNull(message = "encryptedData不能为空")
    private String encryptedData;

    @ApiModelProperty(value = "iv", required = true)
    @NotNull(message = "iv不能为空")
    private String iv;

}
